package cn.lili.modules.promotion.entity.dto.search;


import cn.lili.common.vo.PageVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BoxMhGoodsSearchParams extends PageVO {

    String id;

    /*盲盒名*/
    String goodsName;
    /*盲盒标签*/
    String tag;
    /*盲盒状态*/
    Integer mhStatus;
    /*发布状态*/
    Integer publishType;
    /*开始创建时间*/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date startCreateTime;
    /*结束创建时间*/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date endCreateTime;
}
